﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ls_RoomList.aspx.cs" Inherits="ZLDC.Estate.TM.ls_RoomList" %>

<%@ Register src="../UserControl/ls_RoomList.ascx" tagname="ls_RoomList" tagprefix="uc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
    <style type="text/css">
    body
    {
        font-size:12px;
        }
    </style>
    <script type="text/javascript">
        //删除
        function de() {
            var selectText;
            $(":checkbox[name=cbox]:checked").each(function() {
                selectText = $(this).val() + ',';
            })
            //alert(selectText.substring(3, selectText.length - 1))
            alert('无法删除');
        }
        function add() {
            var selectText;
            try {
                $(":checkbox[name=cbox]:checked").each(function() {
                    selectText = $(this).val() + ',';
                })
               
                alert(selectText.substring(3, selectText.length - 1)) 
            }
            catch (e) {
                alert('请正确选择!');
            }
        }

    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
        <uc1:ls_RoomList ID="ls_RoomList1" runat="server" />
    
    </div>
    </form>
</body>
</html>
